import { ref, } from 'vue'
import { defineStore } from 'pinia'

export const useCounterStore = defineStore('change', () => {
 
const changeid = ref(0)

const updatechangeid = (id:number) => { 
  changeid.value=id
}

  return {changeid,updatechangeid }
})